Skip to content

Issue 88 smart irrigation forecast#90

Merged
fedjo merged 5 commits intoagstack:mainfrom
openagri-eu:dev/issue-88-smart-irrigation-forecast
Apr 8, 2026
Merged

Issue 88 smart irrigation forecast#90
fedjo merged 5 commits intoagstack:mainfrom
openagri-eu:dev/issue-88-smart-irrigation-forecast

Conversation

@fedjo
Copy link
Copy Markdown
Collaborator

@fedjo fedjo commented Apr 3, 2026

Adds a new API endpoint: GET /api/v1/forecast/daily/irrigation/.

The endpoint accepts lat, lon, and optional days (1-16, default 16) and returns a daily Open-Meteo forecast for irrigation planning, including:

  • precipitation_sum
  • precipitation_probability_max
  • temperature_2m_min
  • temperature_2m_max
  • et0_fao_evapotranspiration

Resolves #88

fedjo added 2 commits March 3, 2026 13:44
…rror when connection lost (#14)

* Handle error on no internet

* Handle empty json response from FC

* Add a safer check on empty graph list

* Add farm name and parcel to the obs title and desc

* Eagerly fetch parcels from FC
@fedjo fedjo force-pushed the dev/issue-88-smart-irrigation-forecast branch from b1e7511 to abeeca6 Compare April 3, 2026 13:03
@fedjo fedjo merged commit fa1bf09 into agstack:main Apr 8, 2026
@fedjo fedjo deleted the dev/issue-88-smart-irrigation-forecast branch April 8, 2026 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Forecast of data related to smart irrigation accessible with API

3 participants